Skip to main content

How to generate a flow of events and publish to AWS SQS?

· 2 min read
Sergi Kedrov

How to generate a flow of events having a timestamp, a random {key, value} pair and publish to AWS SQS? With no line of code. For free.

It is often hard to get access to real flows of events due to data sensitivity, security restrictions, approval issues, etc. For prototyping purposes, real data may not be required. It is enough to generate data with the required characteristics. In this Post we'll show how to generate a flow of events having a timestamp, a random {key, value} pair and publish to AWS SQS. With no line of code.

Why Nodes?

Why not! It's simple, fast, intuitive, equally understandable by people with different background.

Look at the picture above.

The "Generate -> ts, key, value" Actor employs the "Timer" Node to emitt events every 1 second. The frequency can be changed.

The "Timer" Node triggers the "Random" and the "Function" Nodes to generate random String and Integer values.

The values of the generated Timestamp, String and Integer are sent to the output "JSONout" and "SQSWrite" Nodes.

The "JSONout" Node composes JSON messages and produces results to the output "AWS SQS {ts, key, value}" Topic.

The "SQSWrite" Node composes JSON messages and publishes messages to Amazon SQS queue.

That's all. All you need to get started is to create or get access to your AWS Control Plane and get credentials.

Try Nodes!

  • Welcome to Fabrique.ai
  • Register to the Fabrique Node Editor. It’s for free
  • Find the “Generate → Generate → ts, key, value” Project in Public
  • Duplicate the project to User Projects
  • Follow the instructions to configure AWS SQS credentials
  • Emulate adn deploy the project. Enjoy!
  • Find more Public projects to try
  • Read out Blog posts with more cases
  • Join our groups in LinkedIn, WhatsApp, Telegram, Slack
  • Ask your questions in Comments
  • Propose your case

About

Fabrique is a no code service to zero the gap between real-time events and data-driven decisions.

Fabrique Nodes are created to give engineers, analysts and business people an intuitive and equally understandable language to easily prototype, deploy, run, and maintain complex event processing scenarios.

Welcome to Fabrique!